<?php
/*Problem Domain
Create a test class to test the Profile class of the tms system
*/
include_once '../User.php';
include_once '../Profile.php';

class TestProfile extends PHPUnit_Framework_TestCase
{
	public function testProfileObject()
	{
		$usr1= new User('msayyed456@gmail.com', 'mohsin', 'trainee',1,'null');
		$pf1 = new Profile($usr1->getId(), 'mohsin', 'sayyed', 'dhanori', '1992-08-07', '2014-10-22', 'fc');

		$this->assertEquals(1,$pf1->getId());	
		$pf1->setId(2);
		$this->assertEquals(2,$pf1->getId());
	}
}
?>
